const http = require('http')

let server = http.createServer((req,res)=>{
    res.end(JSON.stringify({
        name:'hzj',
        age:18
    }))
})

server.listen(9000,()=>{
    console.log('server start');
})